﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LimpaGaragem.BLL.User
{
    public class Status
    {
        /// <summary>
        /// Return list of status
        /// </summary>
        /// <returns></returns>
        public List<LimpaGaragem.Model.User.Status> GetListOfStatus()
        {
            try
            {
                return new LimpaGaragem.DAO.User.Status().GetListOfStatus();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        /// <summary>
        /// Return data of status
        /// </summary>
        /// <returns></returns>
        public LimpaGaragem.Model.User.Status GetStatus(int IDStatus)
        {
            try
            {
                return new LimpaGaragem.DAO.User.Status().GetStatus(IDStatus);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
